
{$header}<div id="main" class="main" >
    <div class="content">
    <?php $type = empty( $_GET['id'] )?0:$_GET['id']; ?>
  <h3 class="heading">新增分类 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
    <tr>
	<td class="tRight" >类别名称：</td>
	<td class="tLeft" >
            <input type="text" name="name" value="">
        </td>
</tr>
<tr>
	<td class="tRight" >上级分类：</td>
	<td class="tLeft" ><select name="parent_id">
    <option value="0" selected >无上级分类</option>
	<volist name="list" id="list">
	<option value="{$list.id}" <eq name="list.id" value="$Think.get.cid">selected</eq>>{$list.level}{$list.name}</option>
	</volist>
	</select></td>
</tr>


<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td colspan="2">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<a class="btn btn-primary offset1" href="__URL__"><i class="icon-arrow-left icon-white"></i>返回</a>
	</td>
</tr>
</table>
</form>
</div>
</div>
